/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 
 * 
 * @author zgy
 * @date 2021-6-15
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveDocumentReleaseOftenUseRequest {
	
	/**
	 * 常用Id
	 */
	
	private Long oftenUseId;
	/**
	 * 文件发行签收Id
	 */
	@NotNull 
	private Long documentReleaseCheckId;
	/**
	 * 使用者用户Id
	 */
	@NotNull 
	private Long useUserId;
	/**
	 * 排序号
	 */
	@NotNull 
	private Integer sequence;
	/**
	 * 租户Id，0表示不指定
	 */
	@NotNull 
	private Long tenantId;
	/**
	 * 创建时间
	 */
	@NotNull 
	private LocalDateTime createTime;
	/**
	 * 更新时间
	 */
	@NotNull 
	private LocalDateTime updateTime;
	/**
	 * 删除标识：0-正常，1-删除
	 */
	@NotNull 
	private Boolean deleteFlag;

}
